<?php 

namespace Home\Controller;
use Think\Controller;

class LogOutController extends Controller
{
	public function index(){
		session_unset();
		session_destroy();
		$this->assign('title','退出登录');
		$this->success('退出成功',U('home/login/index'),3);
	}
}

 ?>